<app-header title="身份验证"></app-header>


<ion-content>
  <div class="mine">
    <div class="checkid w96">
      <ul>
        <li *ngIf="userInfo" style="height: 10rem;">
          <img [src]="userInfo.avater" alt="">
          <div>
            <p>{{userInfo.nickname}}</p>
            <span>{{userInfo.phone.substr(0,3)}}****{{userInfo.phone.substr(7)}}</span>
          </div>
        </li>
        <li class="matop">
          <span>姓名</span>
          <input type="text" placeholder="请输入姓名" [(ngModel)]="name">
        </li>
        <li>
          <span>证件号码</span>
          <input type="text" placeholder="请输入身份证号码" [(ngModel)]="code">
        </li>
        <li class="matop">
          <span>实名手机</span>
          <input type="text" placeholder="请输入手机号码" [(ngModel)]="phone">
        </li>
        <li class="matop">
          <span>银行卡号</span>
          <input type="text" placeholder="请输入银行卡号" [(ngModel)]="bankcard" (ngModelChange)="onChangeText(bankcard)">
        </li>
        <li>
          <span>持卡银行</span>
          <input type="text" disabled [(ngModel)]="hasbank">
          <!-- <span style="text-align: right;">{{}}</span> -->
        </li>
        <li>
          <span>开户支行</span>
          <input type="text" placeholder="请输入开户行地址" [(ngModel)]="bankadd">
        </li>
      </ul>
    </div>

    <button (click)="onFinish()" class="button buttons">完成</button>
  </div>
</ion-content>
